package com.heiye.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("club_table")
public class Club implements Serializable {
    @TableId(value = "club_id",type = IdType.AUTO)
    private int clubId;             //社团id
    @TableField(value = "club_name")
    private String clubName;        //社团名称
    @TableField(value = "club_info")
    private String clubInfo;        //社团信息(描述)
    @TableField(value = "club_picture")
    private String clubPicture;     //社团背景图片
    @TableField(value = "club_stu_number")
    private String clubStuNumber;   //负责人学生学号
    @TableField(value = "club_status")
    private int clubStatus; //社团状态
    // 0:刚创建审核中;1:审核通过;2:审核不通过
    @TableField(value = "club_create_time")
    private Date clubCreateTime;    //社团创建时间
}
